import request from '@/utils/request.js'

/**
 * 登录
 * @param {Object} data 请求参数
 * @returns Promise
 */
export function login(data) {
    return request.post('/visitor/user/login', data)
}